package com.zakj.scservice.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * create by IntelliJ IDEA
 * User: HuangRZ
 * QQ: 917647409
 * Email: huangrz11@163.com
 * Date: 2017/11/24
 * Time: 11:09
 * Description:
 **/
public class FlightTicket implements Serializable{

    //航班编号
    private String flightNumber;

    //航空公司
    private String airline;

    //航班客机类型
    private String planeType;

    //航班起飞时间
    private String routStartTime;

    //航班到达时间
    private String routEndTime;

    //航班起飞机场
    private String routStartPlace;

    //航班到达机场
    private String routEndPlace;

    //航班起飞日期
    private String routStartDate;

    //航班到达日期
    private String routEndDate;

    //舱位信息
    private List<Cabin> cabins;

    public FlightTicket() {
    }

    public FlightTicket(String flightNumber, String airline, String planeType, String routStartTime, String routEndTime,
                        String routStartPlace, String routEndPlace, String routStartDate, String routEndDate) {
        this.flightNumber = flightNumber;
        this.airline = airline;
        this.planeType = planeType;
        this.routStartTime = routStartTime;
        this.routEndTime = routEndTime;
        this.routStartPlace = routStartPlace;
        this.routEndPlace = routEndPlace;
        this.routStartDate = routStartDate;
        this.routEndDate = routEndDate;
    }

    public String getFlightNumber() {
        return flightNumber;
    }

    public void setFlightNumber(String flightNumber) {
        this.flightNumber = flightNumber;
    }

    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }

    public String getPlaneType() {
        return planeType;
    }

    public void setPlaneType(String planeType) {
        this.planeType = planeType;
    }

    public String getRoutStartTime() {
        return routStartTime;
    }

    public void setRoutStartTime(String routStartTime) {
        this.routStartTime = routStartTime;
    }

    public String getRoutEndTime() {
        return routEndTime;
    }

    public void setRoutEndTime(String routEndTime) {
        this.routEndTime = routEndTime;
    }

    public String getRoutStartPlace() {
        return routStartPlace;
    }

    public void setRoutStartPlace(String routStartPlace) {
        this.routStartPlace = routStartPlace;
    }

    public String getRoutEndPlace() {
        return routEndPlace;
    }

    public void setRoutEndPlace(String routEndPlace) {
        this.routEndPlace = routEndPlace;
    }

    public String getRoutStartDate() {
        return routStartDate;
    }

    public void setRoutStartDate(String routStartDate) {
        this.routStartDate = routStartDate;
    }

    public String getRoutEndDate() {
        return routEndDate;
    }

    public void setRoutEndDate(String routEndDate) {
        this.routEndDate = routEndDate;
    }

    public List<Cabin> getCabins() {
        return cabins;
    }

    public void setCabins(List<Cabin> cabins) {
        this.cabins = cabins;
    }

    @Override
    public String toString() {
        return "FlightTicket{" +
                "flightNumber='" + flightNumber + '\'' +
                ", airline='" + airline + '\'' +
                ", planeType='" + planeType + '\'' +
                ", routStartTime='" + routStartTime + '\'' +
                ", routEndTime='" + routEndTime + '\'' +
                ", routStartPlace='" + routStartPlace + '\'' +
                ", routEndPlace='" + routEndPlace + '\'' +
                ", routStartDate='" + routStartDate + '\'' +
                ", routEndDate='" + routEndDate + '\'' +
                ", cabins=" + cabins +
                '}';
    }
}
